<?php $this->start('admin_menu')?>
	<?php echo $this->element('admin_menu', array('str_item' => 'theathers')) ?>
<?php $this->end(); ?>
<div class="theathers index">
	<h1><?php echo __('Theathers'); ?></h1>
	<?php echo $this->Session->flash(); ?>
	<table cellpadding="0" cellspacing="0" class="table-listing">
	<tr>
			<th><?php echo $this->Paginator->sort('id'); ?></th>
			<th><?php echo $this->Paginator->sort('name'); ?></th>
			<th><?php echo $this->Paginator->sort('created_at'); ?></th>
			<th><?php echo $this->Paginator->sort('updated_at'); ?></th>
			<th><?php echo $this->Paginator->sort('created_by'); ?></th>
			<th><?php echo $this->Paginator->sort('updated_by'); ?></th>
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
	foreach ($theathers as $theather): ?>
	<tr>
		<td><?php echo h($theather['Theather']['id']); ?>&nbsp;</td>
		<td><?php echo h($theather['Theather']['name']); ?>&nbsp;</td>
		<td><?php echo h($theather['Theather']['created_at']); ?>&nbsp;</td>
		<td><?php echo h($theather['Theather']['updated_at']); ?>&nbsp;</td>
		<td><?php echo h($theather['Theather']['created_by']); ?>&nbsp;</td>
		<td><?php echo h($theather['Theather']['updated_by']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $theather['Theather']['id'])); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $theather['Theather']['id'])); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $theather['Theather']['id']), null, __('Are you sure you want to delete # %s?', $theather['Theather']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>

	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>

<div class='actionct'>
	<span class='btn-act'><span><?php echo $this->Html->link(__('New Theather'), array('action' => 'add')); ?></span></span>
</div>

<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li></li>
		<li><?php echo $this->Html->link(__('List Seats'), array('controller' => 'seats', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Seat'), array('controller' => 'seats', 'action' => 'add')); ?> </li>
	</ul>
</div>
